package sg.edu.nus.iss.vmcs.system;

import sg.edu.nus.iss.vmcs.interfaces.StoreObjectFactory;
import sg.edu.nus.iss.vmcs.store.DrinksBrand;

public class DrinksBrandFactory implements StoreObjectFactory {
	
	private static StoreObjectFactory drinksFactory=null;
	
	private DrinksBrandFactory() {
		
	}
	
	public static StoreObjectFactory getDrinksFactoryInstance() {
		if (drinksFactory == null) {
			drinksFactory = new DrinksBrandFactory();
			return drinksFactory;
		} else
			return drinksFactory;
	}

	@Override
	public DrinksBrand create() {
		// TODO Auto-generated method stub
		DrinksBrand drinks = new DrinksBrand();
		return drinks;
	}

}
